package org.mch.func.db.pdmfile;

import java.util.HashMap;

public class PdmTypeMap {
	public static final HashMap<String, String> PdmTypeJavaTypeMap = new HashMap<String, String>();
	public static final HashMap<String, String> NcPdmTypeJavaTypeMap = new HashMap<String, String>();

	static {
		PdmTypeJavaTypeMap.put("varchar", "String");
		PdmTypeJavaTypeMap.put("varchar2", "String");
		PdmTypeJavaTypeMap.put("char", "String");
		PdmTypeJavaTypeMap.put("text", "String");
		PdmTypeJavaTypeMap.put("clob", "String");
		PdmTypeJavaTypeMap.put("smallint", "Integer");
		PdmTypeJavaTypeMap.put("int", "Integer");
		PdmTypeJavaTypeMap.put("int2", "Integer");
		PdmTypeJavaTypeMap.put("int4", "Integer");
		PdmTypeJavaTypeMap.put("int8", "Integer");

		NcPdmTypeJavaTypeMap.put("text", "String");
		NcPdmTypeJavaTypeMap.put("clob", "String");
		NcPdmTypeJavaTypeMap.put("varchar", "String");
		NcPdmTypeJavaTypeMap.put("varchar2", "String");
		NcPdmTypeJavaTypeMap.put("smallint", "Integer");
		NcPdmTypeJavaTypeMap.put("int", "Integer");
		NcPdmTypeJavaTypeMap.put("int2", "Integer");
		NcPdmTypeJavaTypeMap.put("int4", "Integer");
		NcPdmTypeJavaTypeMap.put("int8", "Long");
	}
}